-- GENERATED SPELL FOR [Seer Ravenfeather] --


function spell0_5888(pUnit, Event) --@Rock Skin,n/a--
pUnit:FullCastSpellOnTarget(8314,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5888', 537, 1)
end

function Sorts_5888(pUnit, Event)
local choix_sorts_5888 = math.random(0, 0)
if choix_sorts_5888 == 0 then
pUnit:RegisterEvent('spell0_5888', 1, 1)
end
end

function mob5888_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5888', math.random(1500, 3000), 1)
end

function mob5888_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5888_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5888_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5888, 1, 'mob5888_Action')
RegisterUnitEvent(5888, 2, 'mob5888_Leave')
RegisterUnitEvent(5888, 3, 'mob5888_Kill')
RegisterUnitEvent(5888, 4, 'mob5888_Die')
